function install() {
	var menuGroups = localStorageJson('menuGroups', []);
	var apps = localStorageJson('apps', {});
	apps['brm-purchase'] = {
		name: "brm-purchase",
		version: '0.0.1',
	}
	menuGroups.splice(2, 0, {
		name: '采购',
		menus: [{
			name: '采购单',
			icons: 'mui-icon iconfont icon-order',
			href: '../apps/purchase/order.html',
			id: 'purchase_order_list',
		}, {
			name: '供应商',
			href: '../apps/purchase/suppliers.html',
			icons: 'mui-icon iconfont icon-gongyingshangguanli',
			id: 'suppliers_list',
		}]
	});
	localStorageJson('menuGroups', menuGroups, true);
	localStorageJson('apps', apps, true);
}
window.$app = {
	info: {
		name: "brm-purchase",
		index: {
			name: 'Purchase',
			href: '../apps/Purchase/index.html',
		},
	},
	install: install
}